<?php
    echo $form->create('MyFile', array('action' => 'add', 'type' => 'file'));
    if($this->params['pass']==null){
		echo $this->Form->input('client_id');}
                else {
                    echo $this->Form->hidden('client_id', array('value' => $this->params['pass']['0']));}
    echo $form->file('File');
    echo $form->submit('Upload');
    echo $form->end();
?>